<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Editing EntradaSaida</title>
            <link rel="stylesheet" type="text/css" href="/globalimage2/faces/jsfcrud.css" /><%@ include file="/WEB-INF/jspf/AjaxScripts.jspf" %><script type="text/javascript" src="/globalimage2/faces/jsfcrud.js"></script>
        </head>
        <body>
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h1>Editing EntradaSaida</h1>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="EntradaSaidaId:"/>
                    <h:outputText value="#{entradaSaida.entradaSaida.entradaSaidaId}" title="EntradaSaidaId" />
                    <h:outputText value="DataOperacao (MM/dd/yyyy):"/>
                    <h:inputText id="dataOperacao" value="#{entradaSaida.entradaSaida.dataOperacao}" title="DataOperacao" required="true" requiredMessage="The dataOperacao field is required." >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputText value="DataVencimento (MM/dd/yyyy):"/>
                    <h:inputText id="dataVencimento" value="#{entradaSaida.entradaSaida.dataVencimento}" title="DataVencimento" required="true" requiredMessage="The dataVencimento field is required." >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputText value="QuantidadeParcela:"/>
                    <h:inputText id="quantidadeParcela" value="#{entradaSaida.entradaSaida.quantidadeParcela}" title="QuantidadeParcela" required="true" requiredMessage="The quantidadeParcela field is required." />
                    <h:outputText value="ParcelaAtual:"/>
                    <h:inputText id="parcelaAtual" value="#{entradaSaida.entradaSaida.parcelaAtual}" title="ParcelaAtual" required="true" requiredMessage="The parcelaAtual field is required." />
                    <h:outputText value="Valor:"/>
                    <h:inputText id="valor" value="#{entradaSaida.entradaSaida.valor}" title="Valor" required="true" requiredMessage="The valor field is required." />
                    <h:outputText value="VendaCollection:"/>
                    <h:selectManyListbox id="vendaCollection" value="#{entradaSaida.entradaSaida.jsfcrud_transform[jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method.collectionToArray][jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method.arrayToList].vendaCollection}" title="VendaCollection" size="6" converter="#{venda.converter}" >
                        <f:selectItems value="#{venda.vendaItemsAvailableSelectMany}"/>
                    </h:selectManyListbox>
                    <h:outputText value="FolhaPagamentoCollection:"/>
                    <h:selectManyListbox id="folhaPagamentoCollection" value="#{entradaSaida.entradaSaida.jsfcrud_transform[jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method.collectionToArray][jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method.arrayToList].folhaPagamentoCollection}" title="FolhaPagamentoCollection" size="6" converter="#{folhaPagamento.converter}" >
                        <f:selectItems value="#{folhaPagamento.folhaPagamentoItemsAvailableSelectMany}"/>
                    </h:selectManyListbox>
                    <h:outputText value="ManutencaoCollection:"/>
                    <h:selectManyListbox id="manutencaoCollection" value="#{entradaSaida.entradaSaida.jsfcrud_transform[jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method.collectionToArray][jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method.arrayToList].manutencaoCollection}" title="ManutencaoCollection" size="6" converter="#{manutencao.converter}" >
                        <f:selectItems value="#{manutencao.manutencaoItemsAvailableSelectMany}"/>
                    </h:selectManyListbox>
                    <h:outputText value="CompraCollection:"/>
                    <h:selectManyListbox id="compraCollection" value="#{entradaSaida.entradaSaida.jsfcrud_transform[jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method.collectionToArray][jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method.arrayToList].compraCollection}" title="CompraCollection" size="6" converter="#{compra.converter}" >
                        <f:selectItems value="#{compra.compraItemsAvailableSelectMany}"/>
                    </h:selectManyListbox>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{entradaSaida.edit}" value="Save">
                    <f:param name="jsfcrud.currentEntradaSaida" value="#{jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][entradaSaida.entradaSaida][entradaSaida.converter].jsfcrud_invoke}"/>
                </h:commandLink>
                <br />
                <br />
                <h:commandLink action="#{entradaSaida.detailSetup}" value="Exibir" immediate="true">
                    <f:param name="jsfcrud.currentEntradaSaida" value="#{jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][entradaSaida.entradaSaida][entradaSaida.converter].jsfcrud_invoke}"/>
                </h:commandLink>
                <br />
                <h:commandLink action="#{entradaSaida.listSetup}" value="Exibir todos" immediate="true"/>
                <br />
                <h:commandLink value="Index" action="welcome" immediate="true" />
            </h:form>
        </body>
    </html>
</f:view>
